package cn.xiaoliu.basic.query;

import lombok.Data;

/**
 * 基础的query
 */
@Data
public class BaseQuery {
    private Integer currentPage=1;
    private Integer PageSize=5;
    private String keyword;

    public Integer getStart(){
        return (this.currentPage-1)*this.PageSize;
    }
}
